import api from "../libs/api.js";

export function GetTechStacks() {
    return api({
        url:'/tech-stacks',
        method:'GET'
    })
}

export function CreateTechStack(data) {
    return api({
        url:'/tech-stacks',
        method:'POST',
        data:data
    })
}

export function UpdateTechStack(id, data) {
    return api({
        url:'/tech-stacks/' + id,
        method:'PUT',
        data:data
    })
}

export function DeleteTechStack(id) {
    return api({
        url:'/tech-stacks/' + id,
        method:'DELETE'
    })
}